projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf828c
)
Don't send non-alphanumeric chars to geriatric Garmins. Fixes GPS Streetpilot III.
author
robertl
<robertl>
Mon, 3 Mar 2008 18:07:37 +0000
(18:07 +0000)
committer
robertl
<robertl>
Mon, 3 Mar 2008 18:07:37 +0000
(18:07 +0000)
jeeps/gpsapp.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsapp.c
b/jeeps/gpsapp.c
index 6333fb5552d4b903c454eff7c301fe8e99e01cdd..651ed61e3a22686c039cca5e1085a4a04ae4504c 100644
(file)
--- a/
jeeps/gpsapp.c
+++ b/
jeeps/gpsapp.c
@@
-124,6
+124,7
@@
void copy_char_array(UC **dst, char* src, int count, copycase mustupper)
int ocount = count;
do {
UC sc = *src++;
+ if (!isalnum(sc)) continue;
if (sc == 0) {
while (count--)
*d++ = ' ';